Worked on buildings and roads for city 3d map.
Buildings are made out of processed district geometry in Houdini (processed together with Tech Art Lead Krzysztof Krzyścin), saved into data textures and used by custom shader. Custom shader supports dissolve effect and contains multiple optimisations incuding:
- Rendering optimisation: Mesh is not static. It's made out of 3-face half boxes that align themselves to face camera correctly.
- Memory optimisation: Rendered mesh is small triangle soup, but is instanced hundreds of times. Shader recognizes instance id.
- Memory optimisation: Instead of storing data per vertex it is stored per cube with 3 pixels - position, rotation, scale.
Road geometry is static and generated in Houdini from json data provided by Paweł Łukaszewicz. For better player experience roads are visible through buildings when camera is close.
Buildings done from data processed by Krzysztof Krzyścin, and road data provided by Paweł Łukaszewicz.